unit Unit2;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
  ExtCtrls;

type

  { TTutorial }

  TTutorial = class(TForm)
    hlobr: TImage;
    Image1: TImage;
    Image2: TImage;
    Image3: TImage;
    Label1: TLabel;
    procedure hlobrClick(Sender: TObject);
    procedure Image2Click(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end;

var
  Tutorial: TTutorial;
  k:Integer;

implementation

{ TTutorial }

procedure TTutorial.hlobrClick(Sender: TObject);
 const c=3;
begin

  case k of
    0: hlobr.Picture:=Image1.Picture ;
    1: hlobr.Picture:=Image2.Picture;
    2: hlobr.Picture:=Image3.Picture;

  end;
  k:=k+1;
  if k >c then k:=0;

end;

procedure TTutorial.Image2Click(Sender: TObject);
begin

end;

 begin
{$R *.lfm}
  k:=1;

end.

